package cn.yhr.summerboot.web.annon;


import cn.yhr.summerboot.web.enums.RequestMethod;

import java.lang.annotation.*;

/**
 * @Tittle RequestMapping
 * @Description
 * @Author yhr
 * @Date 2019/1/11 11:29
 * @Version 1.0
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface RequestMapping {

    String value() default "";

    RequestMethod method() default RequestMethod.GET;
}
